package com.itheima.service.impl;

import com.itheima.common.pojo.Order;
import com.itheima.mapper.OrderSettingMapper;
import com.itheima.service.OrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderSettingServiceImpl implements OrderSettingService {

    @Autowired
    private OrderSettingMapper orderSettingMapper;

    /**
     * 根据预约id查询预约信息
     * @param id
     * @return
     */
    public Order findById(Integer id) {
        return orderSettingMapper.findById(id);
    }

}
